<?php

use Mini\Router;

define('BASE_PATH', dirname(__DIR__));
// 配置
$config = require BASE_PATH . '/config/app.php';
// 时区设置
date_default_timezone_set($config['timezone']);

require_once BASE_PATH . '/vendor/autoload.php';

require_once BASE_PATH . '/config/router.php';

Router::dispatch();